@charset "utf-8";
.checke{
    position: relative;
    -webkit-appearance: none;
    width:70px;
    height: 30px;
    line-height: 30px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0px 0px 5px #ddd;
    outline: none !important;
    border: none !important;
}
.checke:after{
    position: absolute;
    left: 0;
    content: '';
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0px 0px 5px #ddd;
    transition: all 0.2s linear;
}
.checke:before{
    /*content: '\u5173\u95ed';*/
    content: '关闭';
    color: #18ff0a;
    text-align: right;
    position: absolute;
    left: 0;
    top: 0;
    -webkit-appearance: none;
    width:60px;
    height: 30px;
    line-height: 30px;
    background: transparent;
    border-radius: 14px;
}
.checke:checked{
    background: #18ff0a;
}
.checke:checked:after{
     left: 45px;
     transition: all 0.2s linear;
 }
.checke:checked:before{
    /*content: '\u5f00\u542f';*/
    content: '开启';
    color: #fff;
    text-align: left;
    position: absolute;
    left: 10px;
    top: 0;
    -webkit-appearance: none;
    width:60px;
    height: 30px;
    line-height: 30px;
    background: transparent;
    border-radius: 14px;
}